package com.example.demo.customer;

import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.List;
@Component(value ="fake" )
public class CustomerFakeRepository implements CustomerRepo{
    @Override
    public List<Customer> getCustomers(){
        return Arrays.asList(
                new Customer(1L, "张学友","123"),
                new Customer(2L, "刘德华","123" )
        );
    }
}
